package com.jade.zsy.base.vo;

import com.jade.bss.base.utils.EntityVo;
import com.jade.zsy.base.common.StatusConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 商品管理
 * User: jinya
 * Date: 2017/5/24
 * Time: 15:41
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@ApiModel(value ="商品信息")
public class SkuVo extends EntityVo {
    /**
     * 商品主要图片
     */
    @ApiModelProperty(value ="mainPhoto")
    private String mainPhoto;
    @ApiModelProperty(value = "条码")
    private String barcode;  // barcode
    @ApiModelProperty(value = "商品编号")
    private String skuCode;  // skuCode
    @ApiModelProperty(value = "商品名称")
    private String skuName; // 商品名称
    @ApiModelProperty(value = "产地")
    private String produce; // 产地
    @ApiModelProperty(value = "品牌")
    private String barnd ; // 品牌
    @ApiModelProperty(value = "成本价格")
    private BigDecimal costPrice;// 成本价格
    @ApiModelProperty(value = "吊牌价格")
    private BigDecimal price;// 吊牌价格
    @ApiModelProperty(value = "库存预警",name ="库存预警")
    private long inventory=0;// 库存预警
    @ApiModelProperty(value = "重量")
    private BigDecimal weight=new BigDecimal(0);//  重量
    @ApiModelProperty(value = "体积")
    private BigDecimal volume=new BigDecimal(0);// 体积
    @ApiModelProperty(value = "详细",name ="details")
    private String details;
    @ApiModelProperty(value = "状态",name ="status",example = "0:默认正常  9：停用")
    private int status;
    @ApiModelProperty (value = "状态")
    private String statusDesc; /** 状态  0：正常  9：已停用 **/
    @ApiModelProperty(value ="SEO关键字")
    private String seo;
    @ApiModelProperty(value ="商品计量单位")
    private long unitId=0;/**商品计量单位*/
    @ApiModelProperty(value ="商品计量单位")
    private String unit;/**商品计量单位*/
    @ApiModelProperty(value ="商品属性描述")
    private String skuSpec;/**商品属性描述*/
    @ApiModelProperty(value ="商品属性01")
    private long skuSpecId01=0;/**商品属性*/
    @ApiModelProperty(value ="商品属性02")
    private long skuSpecId02;/**商品属性*/
    @ApiModelProperty(value ="商品属性03")
    private long skuSpecId03;/**商品属性*/
    @ApiModelProperty(value ="商品属性04")
    private long skuSpecId04;/**商品属性*/
    @ApiModelProperty(value ="商品属性05")
    private long skuSpecId05;/**商品属性*/
    @ApiModelProperty(value ="商品属性06")
    private long skuSpecId06;/**商品属性*/
    @ApiModelProperty(value ="商品属性07")
    private long skuSpecId07;/**商品属性*/
    @ApiModelProperty(value ="商品属性08")
    private long skuSpecId08;/**商品属性*/
    @ApiModelProperty(value ="商品属性09")
    private long skuSpecId09;/**商品属性*/
    @ApiModelProperty(value ="商品属性10")
    private long skuSpecId10;/**商品属性*/

    @ApiModelProperty(value ="用户自定义01")
    private String userDef01;/**用户自定义*/
    @ApiModelProperty(value ="用户自定义02")
    private String userDef02;/**用户自定义*/
    @ApiModelProperty(value ="用户自定义03")
    private String userDef03;/**用户自定义*/
    @ApiModelProperty(value ="用户自定义04")
    private String userDef04;/**用户自定义*/
    @ApiModelProperty(value ="用户自定义05")
    private String userDef05;/**用户自定义*/
    @ApiModelProperty(value ="用户自定义06")
    private String userDef06;/**用户自定义*/
    @ApiModelProperty(value ="用户自定义07")
    private String userDef07;/**用户自定义*/
    @ApiModelProperty(value ="用户自定义08")
    private String userDef08;/**用户自定义*/
    @ApiModelProperty(value ="用户自定义09")
    private String userDef09;/**用户自定义*/
    @ApiModelProperty(value ="用户自定义10")
    private String userDef10;

    public String getProduce() {
        return produce;
    }

    public void setProduce(String produce) {
        this.produce = produce;
    }

    public String getBarnd() {
        return barnd;
    }

    public void setBarnd(String barnd) {
        this.barnd = barnd;
    }

    public void setStatusDesc(String statusDesc) {
        this.statusDesc = statusDesc;
    }

    /**用户自定义*/

    public String getMainPhoto() {
        return mainPhoto;
    }

    public void setMainPhoto(String mainPhoto) {
        this.mainPhoto = mainPhoto;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public long getInventory() {
        return inventory;
    }

    public void setInventory(long inventory) {
        this.inventory = inventory;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getSeo() {
        return seo;
    }

    public void setSeo(String seo) {
        this.seo = seo;
    }

    public long getUnitId() {
        return unitId;
    }

    public void setUnitId(long unitId) {
        this.unitId = unitId;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getSkuSpec() {
        return skuSpec;
    }

    public void setSkuSpec(String skuSpec) {
        this.skuSpec = skuSpec;
    }

    public long getSkuSpecId01() {
        return skuSpecId01;
    }

    public void setSkuSpecId01(long skuSpecId01) {
        this.skuSpecId01 = skuSpecId01;
    }

    public long getSkuSpecId02() {
        return skuSpecId02;
    }

    public void setSkuSpecId02(long skuSpecId02) {
        this.skuSpecId02 = skuSpecId02;
    }

    public long getSkuSpecId03() {
        return skuSpecId03;
    }

    public void setSkuSpecId03(long skuSpecId03) {
        this.skuSpecId03 = skuSpecId03;
    }

    public long getSkuSpecId04() {
        return skuSpecId04;
    }

    public void setSkuSpecId04(long skuSpecId04) {
        this.skuSpecId04 = skuSpecId04;
    }

    public long getSkuSpecId05() {
        return skuSpecId05;
    }

    public void setSkuSpecId05(long skuSpecId05) {
        this.skuSpecId05 = skuSpecId05;
    }

    public long getSkuSpecId06() {
        return skuSpecId06;
    }

    public void setSkuSpecId06(long skuSpecId06) {
        this.skuSpecId06 = skuSpecId06;
    }

    public long getSkuSpecId07() {
        return skuSpecId07;
    }

    public void setSkuSpecId07(long skuSpecId07) {
        this.skuSpecId07 = skuSpecId07;
    }

    public long getSkuSpecId08() {
        return skuSpecId08;
    }

    public void setSkuSpecId08(long skuSpecId08) {
        this.skuSpecId08 = skuSpecId08;
    }

    public long getSkuSpecId09() {
        return skuSpecId09;
    }

    public void setSkuSpecId09(long skuSpecId09) {
        this.skuSpecId09 = skuSpecId09;
    }

    public long getSkuSpecId10() {
        return skuSpecId10;
    }

    public void setSkuSpecId10(long skuSpecId10) {
        this.skuSpecId10 = skuSpecId10;
    }

    public String getUserDef01() {
        return userDef01;
    }

    public void setUserDef01(String userDef01) {
        this.userDef01 = userDef01;
    }

    public String getUserDef02() {
        return userDef02;
    }

    public void setUserDef02(String userDef02) {
        this.userDef02 = userDef02;
    }

    public String getUserDef03() {
        return userDef03;
    }

    public void setUserDef03(String userDef03) {
        this.userDef03 = userDef03;
    }

    public String getUserDef04() {
        return userDef04;
    }

    public void setUserDef04(String userDef04) {
        this.userDef04 = userDef04;
    }

    public String getUserDef05() {
        return userDef05;
    }

    public void setUserDef05(String userDef05) {
        this.userDef05 = userDef05;
    }

    public String getUserDef06() {
        return userDef06;
    }

    public void setUserDef06(String userDef06) {
        this.userDef06 = userDef06;
    }

    public String getUserDef07() {
        return userDef07;
    }

    public void setUserDef07(String userDef07) {
        this.userDef07 = userDef07;
    }

    public String getUserDef08() {
        return userDef08;
    }

    public void setUserDef08(String userDef08) {
        this.userDef08 = userDef08;
    }

    public String getUserDef09() {
        return userDef09;
    }

    public void setUserDef09(String userDef09) {
        this.userDef09 = userDef09;
    }

    public String getUserDef10() {
        return userDef10;
    }

    public void setUserDef10(String userDef10) {
        this.userDef10 = userDef10;
    }
    public String getStatusDesc() {
        return StatusConstant.getDesc(status);
    }
}